package com.yykj.tencent.im.server.bean.callback;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.yykj.tencent.im.server.bean.message.TIMMsgElement;
import lombok.Data;

import java.util.List;

/**
 * 发单聊消息之后回调

 */
@Data
public class AfterSendMsgCallback {
    @JsonProperty("CallbackCommand")
    private String callbackCommand;

    @JsonProperty("From_Account")
    private String fromAccount;

    @JsonProperty("To_Account")
    private String toAccount;

    @JsonProperty("MsgSeq")
    private Long msgSeq;

    @JsonProperty("MsgRandom")
    private Long msgRandom;

    @JsonProperty("MsgTime")
    private Integer msgTime;

    @JsonProperty("MsgKey")
    private String msgKey;

    @JsonProperty("OnlineOnlyFlag")
    private Integer onlineOnlyFlag;

    @JsonProperty("SendMsgResult")
    private Integer sendMsgResult;

    @JsonProperty("ErrorInfo")
    private String errorInfo;

    @JsonProperty("UnreadMsgNum")
    private Integer unreadMsgNum;

    @JsonProperty("MsgBody")
    private List<TIMMsgElement> msgBody;

    @JsonProperty("CloudCustomData")
    private String cloudCustomData;

}
